package com.hou.services;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import java.time.LocalDateTime;

public class QJob1 implements Job {
    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        System.out.println("job1 start");
        //业务逻辑
        System.out.println("这是我的第一个定时任务..." + LocalDateTime.now());
        System.out.println("job1 end");
    }
}
